import { ElInput, inputProps } from 'element-plus';
import { defineComponent } from 'vue';

const AInput = defineComponent(
  (props, { slots, attrs, emit }) => {
    return () => (
      <>
        <ElInput {...attrs} {...props} class={[attrs.class, 'a-input']} v-slots={slots}>
          {' '}
        </ElInput>
        <style jsx>
          {`
            .a-input {
              .el-input_wrapper {
                box-shadow: unset !important;
              }
            }
          `}
        </style>
      </>
    );
  },
  {
    props: inputProps
  }
);

export default AInput;
